how to find the value of following